﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DomenModel
{
    public class CreditCard
    {
        [Key]
        public int CreditCardId { get; set; }
        public long CardNumber { get; set; }
        public string CardType { get; set; }
        public byte CVV2Code { get; set; }
        public DateTime ExpiryDate { get; set; }
        public DateTime? StartDate { get; set; }
        public int? IssueNumber { get; set; }
        public IList<Order> Orders { get; set; }
    }
}
